<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="SctstbtipoparEditDlg" widgetVar="SctstbtipoparEditDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.EditSctstbtipoparTitle}">

            <h:form id="SctstbtipoparEditForm">

                <h:panelGroup id="display">
                    <p:panelGrid  columns="2" rendered="#{sctstbtipoparController.selected != null}">

                        <h:outputLabel value="#{myBundle.EditSctstbtipoparLabel_sctstbtipoparid}" for="sctstbtipoparid" />
                        <h:outputText id="sctstbtipoparid" value="#{sctstbtipoparController.selected.sctstbtipoparid}" />

                        <p:outputLabel value="#{myBundle.EditSctstbtipoparLabel_nombre}" for="nombre" />
                        <p:inputText id="nombre" value="#{sctstbtipoparController.selected.nombre}" title="#{myBundle.EditSctstbtipoparTitle_nombre}" required="true" requiredMessage="#{myBundle.EditSctstbtipoparRequiredMessage_nombre}"/>

                        <p:outputLabel value="#{myBundle.EditSctstbtipoparLabel_observaciones}" for="observaciones" />
                        <p:inputText id="observaciones" value="#{sctstbtipoparController.selected.observaciones}" title="#{myBundle.EditSctstbtipoparTitle_observaciones}" required="true" requiredMessage="#{myBundle.EditSctstbtipoparRequiredMessage_observaciones}"/>
                    </p:panelGrid>
                    <p:commandButton actionListener="#{sctstbtipoparController.save}" value="#{myBundle.Save}" update="display,:SctstbtipoparListForm:datalist,:growl" oncomplete="handleSubmit(xhr,status,args,SctstbtipoparEditDialog);"/>
                    <p:commandButton value="#{myBundle.Cancel}" onclick="SctstbtipoparEditDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
